.text-block-group {
    #vocab-box {
        position: absolute;
        background-color: var(--v-foreground-base);
        z-index: 5;
        transition: transform .12s linear !important;
        transform-origin: top;
        border-right: none;
        box-shadow: 0px 0px 20px 5px rgba(0,0,0,0.38);
        user-select: text;

        .dictionary-search-field .v-input__slot{
            padding-left: 16px;
        }
        
        // subheader
        .vocab-box-subheader span {
            background-color: var(--v-gray-base);
            color: var(--v-text-base);
            border-radius: 8px;
            user-select: none;
        }

        .vocab-box-content {
            box-sizing: border-box;
            width: calc(100% - 44px);
        }

        .vocab-box-toolbar {
            box-sizing: border-box;
            width: 44px;
            min-height: 100%;
            border-radius: 0px;
            background-color: var(--v-primary-base);

            i.v-icon {
                color: var(--v-gray-base);
            }
        }

        .v-window-item {
            background-color: var(--v-foreground-base);
        }

        .vocab-box-subheader {
            display: none !important;
            color: rgb(120, 120, 120);
        }

        #vocab-box-kanji-box .kanji {
            width: 38px;
            height: 38px;
            line-height: 38px;
            border: 1px solid var(--v-customBorder-base);
            text-align: center;
            font-size: 20px;
            user-select: none;
            cursor: pointer;

            &:hover {
                background-color: var(--v-gray3-base);
            }
        }

        #vocab-box-stage-buttons {
            width: 100% !important;
            display: flex;
            align-items: stretch;

            button.v-btn {
                box-shadow: none;
                margin: 0px;
                border: none;
                border-radius: 0px;
                height: 40px;
                width: unset !important;
                min-width: unset !important;
                padding: 0px !important;
                flex: 1;

                border-top: 1px solid var(--v-customBorder-base);
                border-bottom: 1px solid var(--v-customBorder-base);

                &:first-of-type {
                    border-left: 1px solid var(--v-customBorder-base);
                    border-top-left-radius: 32px;
                    border-bottom-left-radius: 32px;
                }

                &:last-of-type {
                    border-right: 1px solid var(--v-customBorder-base);
                    border-top-right-radius: 32px;
                    border-bottom-right-radius: 32px;
                }

                &.v-btn--active {
                    background-color: var(--v-primary-base);
                    border-color: var(--v-primary-base);
                    color: white;
                }
            }
        }

        .expression {
            font-size: 22px;
            rt {
                font-size: 18px;
            }
        }

        #definitions {
            font-size: 16px;
        }

        &.closed {
            padding: 0px !important;
            transform: scale(1, 0);
        }

        &:after, &:before {
            bottom: 100%;
            left: 50%;
            border: solid transparent;
            content: "";
            height: 0;
            width: 0;
            position: absolute;
            pointer-events: none;
        }
        
        &:after {
            border-color: rgba(0, 0, 0, 0);
            border-bottom-color: var(--v-foreground-base);
            border-width: 14px;
            margin-left: -14px;
        }
        
        &:before {
            border-color: rgba(0, 0, 0, 0);
            border-bottom-color: var(--v-customBorder-base);
            border-width: 16px;
            margin-left: -16px;
        }

        #vocab-box-edit-page .v-input__slot {
            font-size: 18px;
        }
    }
}